#ifndef _ORDERED_ENTRY_HPP
#define _ORDERED_ENTRY_HPP

#include <stdint.h>

namespace BFT
{
	namespace order
	{
		namespace statemanagement
		{
			class OrderedEntry
			{
			
				public:
				
				OrderedEntry(uint32_t _reqId, uint32_t _seqno);
				
				OrderedEntry();
				
				void set(uint32_t _reqId, uint32_t _seqNo);
				
				uint32_t getReqId();
				
				uint32_t getSeqNo();
				
				void printInfo();
				
				private:
				
				uint32_t reqId;
				uint32_t seqNo;
			};
			
			inline uint32_t OrderedEntry::getReqId() {return reqId;}
			inline uint32_t OrderedEntry::getSeqNo() {return seqNo;}
		}
	}
}


#endif
